package com.csg.ses.entity.ses;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Timestamp;

import lombok.Data;

/**
 * 接口日志
 * @author wangjun
 * @date 2020-11-18 15:53:40
 */
@Data
@TableName("sys_interface_log")
@ApiModel(description = "接口日志")
public class SysInterfaceLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	@ApiModelProperty(value = "主键")
	private Long id;

	/**
	 * 接口名称
	 */
	@ApiModelProperty(value = "接口名称")
	private String interfaceName;

	/**
	 * 接口地址
	 */
	@ApiModelProperty(value = "接口地址")
	private String interfaceAddress;

	/**
	 * 接口调用时间
	 */
	@ApiModelProperty(value = "接口调用开始时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp interfaceCallTimeStart;

	/**
	 * 接口调用结束时间
	 */
	@ApiModelProperty(value = "接口调用结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp interfaceCallTimeEnd;

	@TableField(exist = false)
	private String startTime;

	@TableField(exist = false)
	private String endTime;

	/**
	 * 源系统
	 */
	@ApiModelProperty(value = "源系统")
	private String sourceSystem;

	/**
	 * 输入参数1
	 */
	@ApiModelProperty(value = "输入参数1")
	private String paramIn01;

	/**
	 * 输入参数2
	 */
	@ApiModelProperty(value = "输入参数2")
	private String paramIn02;

	/**
	 * 输入参数3
	 */
	@ApiModelProperty(value = "输入参数3")
	private String paramIn03;

	/**
	 * 输入参数4
	 */
	@ApiModelProperty(value = "输入参数4")
	private String paramIn04;

	/**
	 * 输入参数5
	 */
	@ApiModelProperty(value = "输入参数5")
	private String paramIn05;

	/**
	 * 输入参数6
	 */
	@ApiModelProperty(value = "输入参数6")
	private String paramIn06;

	/**
	 * 输入参数7
	 */
	@ApiModelProperty(value = "输入参数7")
	private String paramIn07;

	/**
	 * 输入参数8
	 */
	@ApiModelProperty(value = "输入参数8")
	private String paramIn08;

	/**
	 * 输入参数9
	 */
	@ApiModelProperty(value = "输入参数9")
	private String paramIn09;

	/**
	 * 输入参数10
	 */
	@ApiModelProperty(value = "输入参数10")
	private String paramIn10;

	/**
	 * 输出参数1
	 */
	@ApiModelProperty(value = "输出参数1")
	private String paramOut01;

	/**
	 * 输出参数2
	 */
	@ApiModelProperty(value = "输出参数2")
	private String paramOut02;

	/**
	 * 输出参数3
	 */
	@ApiModelProperty(value = "输出参数3")
	private String paramOut03;

	/**
	 * 输出参数4
	 */
	@ApiModelProperty(value = "输出参数4")
	private String paramOut04;

	/**
	 * 输出参数5
	 */
	@ApiModelProperty(value = "输出参数5")
	private String paramOut05;

	/**
	 * 是否成功（Y/N）
	 */
	@ApiModelProperty(value = "是否成功（Y/N）")
	private String isSuccess;

	/**
	 * 数据更新时间
	 */
	@ApiModelProperty(value = "数据更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp updateTime;
}